import request from '@/utils/request';

// 读取产品版本列表
export function fetchVersionList(params) {
    return request('/api/gmstask/v1/task/task/getproductversionlist', {
        method: 'post',
        data: params
    });
}

// 读取产品版本信息
export function fetchVersionInfo(params) {
    return request(`/api/gmstask/v1/task/task/getproductversion/${params.id}`, {
        method: 'post'
    });
}
